package com.lf.sys.service;

import java.util.List;

import org.springframework.stereotype.Component;

import com.lf.sys.model.SysContact;

@Component
public interface ContactService {

	public int insert(SysContact temp);

	public int delete(long id, long userId);

	public int update(SysContact temp);

	public SysContact get(long id, long userId);

	public List<SysContact> list(long userId);

	public int count(long userId);

	public List<SysContact> listByPage(long userId, int offset, int limit);

}
